package com.itcast.admin.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 体检组
 * </p>
 *
 * @author author
 * @since 2024-11-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("checkup_group")
@ApiModel(value="CheckupGroup对象", description="体检组")
public class CheckupGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "体检组id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "体检组名称")
    @TableField("group_name")
    private String groupName;

    @ApiModelProperty(value = "排序")
    @TableField("group_sort_num")
    private Integer groupSortNum;

    @ApiModelProperty(value = "体检项状态，0：草稿，1：启用，2：禁用")
    @TableField("group_status")
    private Integer groupStatus;

    @ApiModelProperty(value = "体检组描述")
    @TableField("group_description")
    private String groupDescription;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;


}
